package cn.nb12.xbox.respo;

import java.io.Serializable;

public class GenResult implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 返回类型
	 */
	private String type;
	/**
	 * 内容
	 */
	private String msg;
	
	private Object data;
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public GenResult() {
		super();
	}
	public GenResult(String type, String msg) {
		super();
		this.type = type;
		this.msg = msg;
	}
	
	public GenResult(String type, Object data) {
		super();
		this.type = type;
		this.data = data;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	
	
}
